<?php
// connect to database using config.php
// include this file when a database connection is needed (BEFORE the MySQL querry)
// NO changes are needed in this file
$conn = mysql_connect($dbhost, $dbuname, $dbpass) or die('Error connecting to mysql');
mysql_select_db($dbname);
?> 